﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace MM.Common.UI.Controls
{
    public class UCComboBoxInputItem
    {
        // Fields
        private string fieldName;
        private string itemName;
        private UCComboBoxInputItemType itemType;
        private int itemWidth;

        // Properties
        [Description("显示字段名")]
        public string FieldName
        {
            get
            {
                return this.fieldName;
            }
            set
            {
                this.fieldName = value;
            }
        }

        [Description("显示项目列名")]
        public string ItemName
        {
            get
            {
                return this.itemName;
            }
            set
            {
                this.itemName = value;
            }
        }

        [Description("显示项目列类型")]
        public UCComboBoxInputItemType ItemType
        {
            get
            {
                return this.itemType;
            }
            set
            {
                this.itemType = value;
            }
        }

        [Description("显示项目列宽度")]
        public int ItemWidth
        {
            get
            {
                return this.itemWidth;
            }
            set
            {
                this.itemWidth = value;
            }
        }
    }
}
